<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>学生表</title>
</head>
<body>
    <table border="1" cellspacing="0" cellpadding="0" width="300px" height="200px" >
        <tr align="center">
          <td>姓名</td>
          <td>年龄</td>
          <td>性别</td>
          <td>家庭住址</td>
        </tr>
        {foreach name="student" item="v"}
            <tr align="center">
              <td>{$v.name}</td>
              <td>{$v.age}</td>
              <td>{$v.sex}</td>
              <td>{$v.address}</td>
            </tr>
        {/foreach}
    </table>


</body>
</html>